* net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 24 Jun 2009 05:10:57 +0000 (05:10 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 24 Jun 2009 05:10:57 +0000 (05:10 +0000)
but `filename'.

lisp/net/tramp-gvfs.el

index f0697f259fbc92dbfa274b8052fb22e9f18cbfee..640a281594b671dc55b4512e46c6bc0b274a154c 100644 (file)
@@ -620,13 +620,13 @@ is no information where to trace the message.")
        (tramp-gvfs-fuse-file-name dir) parents)
     ;; Error case.  Let's try it with the GVFS utilities.
     (error
-     (with-parsed-tramp-file-name filename nil
+     (with-parsed-tramp-file-name dir nil
        (tramp-message v 4 "`make-directory' failed, trying `gvfs-mkdir'")
        (unless
           (zerop
            (tramp-local-call-process
             "gvfs-mkdir" nil (tramp-get-buffer v) nil
-            (tramp-gvfs-url-file-name filename)))
+            (tramp-gvfs-url-file-name dir)))
         (signal (car err) (cdr err)))))))
 
 (defun tramp-gvfs-handle-rename-file